import React from 'react'
import "./index.css"

export default function Item({todo, done}) {
  return (
    <li>
          <label>
            <input type="checkbox" defaultChecked={done}/>
            <span>{todo}</span>
          </label>
          <button className="btn btn-danger" style={{display:"none"}}>删除</button>
    </li>
  )
}
